{% comment %}
 Copyright © 2010 Benedikt Eger

 This file is part of top-news-buzz.

 top-news-buzz is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.

 top-news-buzz is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with top-news-buzz.  If not, see <http://www.gnu.org/licenses/>.
{% endcomment %}
{% include header_html_path %}
<div id="content">
	<div id="page">
		<div id="column1">
			<div class="box1">
				{% for news in news_articles %}
				<h3><a href="/{{ news.id }}/{{ news.title|slugify }}">{{ news.title }}</a></h3>
				<p class="list"><span class="date">published {{ news.publish_date|timesince }} ago</span><strong class="right">Score: {{ news.score }}</strong><br />
				<a href="http://{{ news.domain }}">via {{ news.domain }}</a><span class="more"><a href="{{ news.url }}" class="right">Full Article</a></span></p>
				{% endfor %}
				{% if urls.previous_page_url %}<strong><a href="{{ urls.previous_page_url }}" />&larr; Previous Page</a></strong>{% endif %}<strong><a class="right" href="{{ urls.next_page_url }}" />Next Page &rarr; </a></strong>
			</div>
		</div>
		<div id="column2">
			{% include sidebar_html_path %}
		</div>
	</div>
	<div style="clear: both;">&nbsp;</div>
</div>
{% include footer_html_path %}
